<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>认证中心</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link href="static/css/index.css" rel="stylesheet">
<script src="static/js/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="static/js/index.js" type="text/javascript"></script>
<script>
var g_redirect="http://www.baidu.com";
$(function() {
	var obj = {}
	obj.now = new Date().getTime();
	var params = window.location.search;
	$.post(
		"/authopt" + params,
		obj,
		function(d) {
			if (d.wechat == 1) {
				$(".auth,.font").show();
				$(".weixin").css("display", "inline-block");
			}
			if (d.sms == 1) {
				$(".auth,.font").show();
				$(".sms").css("display", "inline-block");
			}
			if (d.web == 0) {
				$(".login").css("display", "none");
			}
		},
		"json"
	);
});
</script>
</head>

<body>
<div class="big">
	<div class="big-m">
		<div class="main">
			<div class="top">
				<p>认证中心</p>
			</div>

			<div class="login">
				<div class="text-input">
					<div class="input">
						<input id="web_user" type="text" placeholder="账号" />
					</div>
					<div class="input">
						<input id="web_pwd" type="password" placeholder="密码" />
					</div>
				</div>
				<div class="web-confirm">
					<div class="tips" style="height:28px;line-height:28px;font-size:14px;color:#f00"></div>
				</div>
				<div class="btn-input">
					<input type="button" onclick="web_action();" value="登录" />
				</div>
			</div>

			<div class="a-login">
				<div class="font clearfix">
					<p class="left"><i></i></p>
					<p class="mid">其它登录方式</p>
					<p class="right"><i></i></p>
				</div>
				<div class="auth">
					<a class="weixin" href="javascript:;" onclick="call_weixin();"></a>
					<a class="sms" href="javascript:;" onclick="call_sms();"></a>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="mengban"></div>
<div class="alertbox sms-confirm">
    <div class="alert-title">短信认证</div>
	<div class="tips"></div>
    <div class="number">
		<input id="sms_user" type="tel" placeholder="请输入手机号码" />
	</div>
    <div class="code">
		<input id="sms_pwd" type="tel" placeholder="请输入验证码" />
		<span id="sms_code" onclick="sms_code();">获取验证码</span>
	</div>
    <div class="btns">
        <span class="cancle">取消</span>
        <span onclick="sms_action();">确定</span>
    </div>
</div>
</body>
</html>
